namespace NGIS.Model
{
	public struct ModelEvent
	{
		public string eventName;

		public EModelEventType eventType;

		public string eventDescription;

		public string datasetReference;

		public string parameterDescription;

		public bool optional;

		public bool compareOther(ModelEvent pEvent)
		{
			if (eventName != pEvent.eventName)
			{
				return false;
			}
			if (eventType != pEvent.eventType)
			{
				return false;
			}
			if (eventDescription != pEvent.eventDescription)
			{
				return false;
			}
			if (datasetReference != pEvent.datasetReference)
			{
				return false;
			}
			if (parameterDescription != pEvent.parameterDescription)
			{
				return false;
			}
			if (optional != pEvent.optional)
			{
				return false;
			}
			return true;
		}
	}
}
